<%--
  Created by IntelliJ IDEA.
  User: 10153
  Date: 2025/3/27
  Time: 下午4:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>注册</title>
    <script>
        var msg = "${msg}";
        if (msg != ""){
            alert(msg);
        }
    </script>
</head>
<body>
    注册
    <form method="get" action="/user/register">
        账户：<input name="account" value="${account}"><br/>
        密码：<input name="password" value="${password}"><br/>
        <input type="submit" value="注册">

    </form>
    <button id="but1" onclick="back()">返回</button>

    <script>
        function back() {
            location.href="/index.jsp";
        }
    </script>
</body>
</html>
